package com.wlyuan.open.scanner.dao.write;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wlyuan.open.scanner.dao.entity.PayDO;
import org.apache.ibatis.annotations.Insert;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author yuanjie
 * @since 2022-12-27
 */
public interface PayWriteMapper extends BaseMapper<PayDO> {

    @Insert("insert into t_pay(up,down,type,tenant_id,create_time) values (#{up},#{down},#{type},#{tenantId},#{createTime})")
    int add(PayDO data);
}
